home *** CD-ROM | disk | FTP | other *** search
/ PCNet 1998 June / PCnet Haziran 1998.iso / Internet / Tools / ANJAVA10.ZIP / DATA1.CAB / Program_Executable_Files / Applet / tunnel / tunnel.txt < prev    next >
Encoding:
Text File  |  1998-04-23  |  5.2 KB  |  105 lines

  1.  
  2.           AnfyTunnel 2.1 - Copyright (C) by Fabio Ciucci 1997/98
  3.  
  4.  
  5. This applet can generate a texturemapped tunnel from any GIF/JPG image.
  6. Remember that are needed both tunnel.class , Lware.class and anfy.class.
  7. You must upload these 3 .class files and insert the <applet> tag on your
  8. html document to add this applet to your page.
  9. This applet is fully parametrized, so you can generate all kinds of tunnels
  10. you want. Here an example of what you have to write in the html (the
  11. things anfter the ; are comments with min-max values acceptet):
  12.  
  13.  
  14. <applet code="tunnel.class" width=250 height=180> ; Name, Width, Height
  15. <param name=credits value="Applet by Fabio Ciucci (www.anfiteatro.it/java.html)">
  16. <param name=regcode value="NO">         ; Register code (if you have it)
  17. <param name=reglink value="NO">         ; URL where go optionally when clicked
  18. <param name=regnewframe value="YES">    ; Reglink opened in new frame?
  19. <param name=regframename value="_blank"> ; Name of new frame for reglink
  20. <param name=statusmsg value="Tunnel applet">  ; Statusbar message
  21. <param name=image value="stone.jpg">    ; Image to load
  22. <param name=res value="1">              ; resolution (1-8)
  23. <param name=startx value="100">         ; X start
  24. <param name=starty value="100">         ; Y start
  25. <param name=textw value="256">          ; Width of image (stone.jpg)
  26. <param name=texth value="256">          ; Height of image (stone.jpg)
  27. <param name=conex value="215">          ; X aspect ratio
  28. <param name=coney value="150">          ; Y aspect ratio
  29. <param name=conez value="1200">         ; Z aspect ratio
  30. <param name=movement value="5">         ; Type of movement (1..8)
  31. <param name=effect value="1">           ; Type of effect (1..2)
  32. <param name=textscroll value="tunnscr.txt"> ; File for scrolltext or "NO"
  33. <param name=textoffset value="140">         ; Txtscroll y offset
  34. <param name=textspeed value="1">          ; Txtscroll speed
  35. <param name=textfont value="Arial">       ; Txtscroll font name
  36. <param name=textbold value="NO">          ; Txtscroll bold ("YES" or "NO")
  37. <param name=textsize value="24">          ; Txtscroll font size
  38. <param name=textshadow value="YES">       ; Txtscroll shadow ("YES" or "NO")
  39. <param name=TextColR value="200">         ; Txtscroll color (red component)
  40. <param name=TextColG value="255">         ; Txtscroll color (green component)
  41. <param name=TextColB value="190">         ; Txtscroll color (blue component)
  42. <param name=TextSColR value="20">         ; Txtscroll shadow col. (red c.)
  43. <param name=TextSColG value="20">         ; Txtscroll shadow col. (green c.)
  44. <param name=TextSColB value="50">         ; Txtscroll shadow col. (blue c.)
  45. <param name=TextJumpAmp value="0">        ; Txtscroll jump aplitude
  46. <param name=TextJumpSpd value="0">        ; Txtscroll jump speed
  47. <param name=TextSineAmp value="0">        ; Txtscroll sineshape amplitude        
  48. <param name=TextSineSpd value="0">        ; Txtscroll sineshape movement
  49. <param name=TextSineAngle value="0">      ; Txtscroll sineangle / pixel  
  50. <param name=memdelay value="1000">        ; Memory deallocation delay
  51. <param name=priority value="3">           ; Task priority (1..10)
  52. <param name=MinSYNC value="10">           ; Min. milliseconds/frame for sync
  53. Sorry, your browser doesn't suppor Java.  ; Message for no java browsers.
  54. </applet>                                 ; End of applet tag
  55.  
  56.                              ---------
  57.  
  58.  
  59. Here detailed instructions about how to change parameters:
  60.  
  61.  
  62. The credits parameter can't be changed otherwise the applet will not work.
  63.  
  64. To activate the reg parameters read the shareware registration notes.
  65. In the "regcode" parameter you have to place the registration code you
  66. purchase from the author. If it is correct and the applet is run from the
  67. registered domain name, you can use "reglink" parameter, where you can specify
  68. an URL where bring user when the applet is clicked.
  69. If you set to "YES" regnewframe, you can specify a frame where load the
  70. reglink:
  71.  
  72. "_blank"  : To load the link in a new blank unnamed browser window.
  73. "_self"   : To load the link into the same window the applet occupies.
  74. "_parent" : To load the link into the immediate FRAMESET parent.
  75. "_top"    : To load the link into the top body of the window.
  76.  
  77. Otherwise the frame name, for example "myframe1".
  78.  
  79. The applet can be of any size. If res=1, remember to place the exact
  80. size of image in "width" and "height" tags. If res=2, place double values,
  81. if res=3 triple values etc.
  82. In fact, res is a sort of zoomer.
  83.  
  84. The image used as texture can be of any size, but the preferred size is
  85. 256*256. Try to use images with a size close to this one, GIF or JPG.
  86.  
  87. The startx,starty,conex,coney,conez parameters are useful to change the
  88. tunnel, making it deformed, but the values suggested are the best ones.
  89.  
  90. You can select the type of movement, with "movement" parameter:
  91.  
  92. 1) advance
  93. 2) back
  94. 3) anticlockwise rotation
  95. 4) clockwise rotation
  96. 5) advance + clockwise rotation
  97. 6) advance + anticlockwise rotation
  98. 7) back + clockwise rotation
  99. 8) back + anticlockwise rotation
  100.  
  101. And, finally, you can select between 2 kind of effects: with "1" you have
  102. a tunnel, with "2" instead you are outside the tunnel, or something like.
  103.  
  104.  
  105.